Optimal. Leaf size=37 \[ -\frac {3}{5} 2^{-1+n} (1-x)^{10/3} \, _2F_1\left (\frac {10}{3},-n;\frac {13}{3};\frac {1-x}{2}\right ) \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.00, antiderivative size = 37, normalized size of antiderivative = 1.00, number of steps
used = 1, number of rules used = 1, integrand size = 15, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.067, Rules used = {71}
\begin {gather*} -\frac {3}{5} 2^{n-1} (1-x)^{10/3} \, _2F_1\left (\frac {10}{3},-n;\frac {13}{3};\frac {1-x}{2}\right ) \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 71
Rubi steps
\begin {align*} \int (1-x)^{7/3} (1+x)^n \, dx &=-\frac {3}{5} 2^{-1+n} (1-x)^{10/3} \, _2F_1\left (\frac {10}{3},-n;\frac {13}{3};\frac {1-x}{2}\right )\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.08, size = 37, normalized size = 1.00 \begin {gather*} -\frac {3}{5} 2^{-1+n} (1-x)^{10/3} \, _2F_1\left (\frac {10}{3},-n;\frac {13}{3};\frac {1-x}{2}\right ) \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [F]
time = 0.05, size = 0, normalized size = 0.00 \[\int \left (1-x \right )^{\frac {7}{3}} \left (1+x \right )^{n}\, dx\]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Failed to integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {could not integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [C] Result contains complex when optimal does not.
time = 53.26, size = 42, normalized size = 1.14 \begin {gather*} \frac {\sqrt [3]{-1} \cdot 2^{n} \left (x - 1\right )^{\frac {10}{3}} \Gamma \left (\frac {10}{3}\right ) {{}_{2}F_{1}\left (\begin {matrix} \frac {10}{3}, - n \\ \frac {13}{3} \end {matrix}\middle | {\frac {\left (x - 1\right ) e^{i \pi }}{2}} \right )}}{\Gamma \left (\frac {13}{3}\right )} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {could not integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [F]
time = 0.00, size = -1, normalized size = -0.03 \begin {gather*} \int {\left (1-x\right )}^{7/3}\,{\left (x+1\right )}^n \,d x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________